home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / smaltalk / gnu_st.lha / gnu_st / smalltalk-1.1.1 / stix / README < prev    next >
Text File  |  1990-05-21  |  2KB  |  47 lines

  1. STIX
  2. ====
  3.  
  4. Welcome to STIX, the SmallTalk Interface to X.
  5.  
  6. This directory contains the method definitions for an interface to the
  7. X protocol layer which underlies all of X Window.  It is not a complete
  8. implementation of the X protocol: several of the protocol operations have
  9. not been implemented yet, and some which have been are not completely done.
  10.  
  11. Nevertheless, there is enough here so that simple drawing and event handling
  12. operations can take place.  There's even an implementation of the Pen class
  13. as described in the Blue Book, for doing simple LOGO-like drawing.
  14.  
  15. OPERATION
  16. =========
  17.  
  18. Be sure that you have appropriately edited mstpaths.h to point to where the
  19. kernel method definitions live.  If you have already configured using 
  20. config.mst in the parent directory of this directory, you shouldn't have to 
  21. reconfigure here.
  22.  
  23. Step 1: Find out where your X system is installed.  The implementation needs
  24.         two include files from the X release.  You should be running some
  25.     version of X11; I've used X11 R4 and succeeded.  Edit the Makefile
  26.     and modify the definition of XINCLUDE to reflect this path.
  27.  
  28. Step 2: Compile the world.  To do this, type 
  29.  
  30.         make
  31.  
  32.         the normal GNU Smalltalk compilation should take place.  In addition,
  33.     a file called socket.c (which implements the low-level socket-based
  34.     connectivity to the X server) will be compiled.
  35.  
  36. Step 3: Run the test system by typing:
  37.  
  38.         mst -V t.st
  39.  
  40.     You should see the normal set of files being loaded.  CFuncs.st
  41.     may take longer since it's loading in more of the system than
  42.     in the default environment.  After CFuncs.st has been loaded and
  43.     the binary image saved, t.st is loaded.  You will see several
  44.     expressions being excecuted and then (if all goes well) a window
  45.     should appear that will let you know that you're a winning person.
  46.  
  47.